#include <iostream>
#include <cmath>
using namespace std;

int main() {
    unsigned int n;
    cin >> n;

    long c;
    c = pow(2, n);
    cout << c;
    return 0;
}